package com.guiji.text2video.job.service;

import com.guiji.text2video.common.core.web.domain.AjaxResult;
import com.guiji.text2video.job.domain.Text2videoJob;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("text2video-fastVideo")
public interface FeignJob {

    @PostMapping(value ="/job-v2/commitNews")
    AjaxResult jobDo(@RequestBody() Text2videoJob a);
}
